For the first time, researchers have created a metasurface lens that uses a piezoelectric thin film to change focal length when a small voltage is applied. Because it is extremely compact and lightweight, the new lens could be useful for portable medical diagnostic instruments, drone-based 3D mapping and other applications where miniaturization can open new possibilities.